import * as type from './type'

const mutations = {
    // 请求结束后，修改首页列表数据     null => payload
    [type.MODIFY_N_HOTS](state, action) {
        state.nHots = action.payload
    },
    [type.MODIFY_MOST_EXPECTED](state, action) {
        state.fHots.mostExpected = action.payload
    }
}

export default mutations